<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
		<%
		if(session.getAttribute("user")!=null){%>
			欢迎您,登录成功!<a href="loginout.jsp">注销</a>
	<%}else{
			response.sendRedirect("login.jsp");
	}%>
		
		
</body>
</html>